package joSaysHello.client.gui;

import joSaysHello.shared.entity.Hello;

import com.google.gwt.cell.client.AbstractCell;
import com.google.gwt.cell.client.Cell;
import com.google.gwt.safehtml.shared.SafeHtmlBuilder;
import com.google.gwt.user.cellview.client.CellList;

public class HelloList extends CellList<Hello>
{
	
	public static final class HelloCell extends AbstractCell<Hello>
	{
		@Override
		public void render(Cell.Context context, Hello value, SafeHtmlBuilder sb)
		{
			sb.appendEscaped(value.toString());
		}
	}
	
	public HelloList()
	{
		super(new HelloCell());
	}
	
}
